<?php
include ("../main/inc/global.inc.php");

$result = Database::checkNotification($_POST['tagId']);
$row = $result[0];
$count = $row['count'];

if ($count > 0)
{
    echo "You are tagged!";
}
else
{
    echo "NULL";
}

?>
